﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TrackingQuery.aspx.cs"
    Inherits="WMS6.Web.TransportManagement.TrackingQuery" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>TrackingQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>
    
    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <base target="_self" />

    <script type="text/javascript">

        //初始化页面
        window.onload = function() {
            var actionID = window.dialogArguments;
            if (actionID != "" && actionID != null) {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0], array[1]);
            }
            else {
                initQueryPage();
            }
        }


        //窗口大小改变时触发的事件
        window.onresize = function() {
            autoResizeQueryDiv("div_query");
        }
    </script>

</head>
<body>
    <form id="F8040" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL">
                </div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblBu" runat="server" Text="在途跟踪" CssClass="hover" meta:resourcekey="lblBu"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR">
                </div>
            </div>
        </div>
        <div id="div_query">
            <table width="580px" cellpadding="0" cellspacing="0">
                <%--<tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblTrackingID" runat="server" Text="跟踪单号" meta:resourcekey="lblTrackingID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtTrackingID" CssClass="textbox" runat="server" MaxLength="20"
                            meta:resourcekey="txtTrackingID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTrackingID" CssClass="selectbox" runat="server" meta:resourcekey="ddlTrackingID">
                        </asp:DropDownList>
                    </td>
                </tr>--%>
                <tr>
                    <td style="width:180px">
                        <asp:Label CssClass="label" ID="lblBolID" runat="server" Text="装车单号" meta:resourcekey="lblBolID"></asp:Label>
                    </td>
                    <td style="width:30px">
                        &nbsp;
                    </td>
                    <td style="width:160px">
                        &nbsp;
                    </td>
                    <td style="width:200px">
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtBolID" CssClass="textbox" runat="server" MaxLength="20" meta:resourcekey="txtBolID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlBolID" CssClass="selectbox" runat="server" meta:resourcekey="ddlBolID">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDeliveryOrderID" runat="server" Text="运单号" meta:resourcekey="lblDeliveryOrderID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDeliveryOrderID" CssClass="textbox" runat="server" MaxLength="20"
                            meta:resourcekey="txtDeliveryOrderID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDeliveryOrderID" CssClass="selectbox" runat="server" meta:resourcekey="ddlDeliveryOrderID">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblEquipmentLicence" runat="server" Text="车牌号" meta:resourcekey="lblEquipmentLicence"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtEquipmentLicence" CssClass="textbox" runat="server" MaxLength="20"
                            meta:resourcekey="txtEquipmentLicence"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlEquipmentLicence" CssClass="selectbox" runat="server" meta:resourcekey="ddlEquipmentLicence">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblCarrierID" runat="server" Text="承运商" meta:resourcekey="lblCarrierID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtCarrierID" CssClass="textbox" runat="server" MaxLength="20" meta:resourcekey="txtCarrierID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCarrierID" CssClass="selectbox" runat="server" meta:resourcekey="ddlCarrierID">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDriverID" runat="server" Text="司机" meta:resourcekey="lblDriverID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDriverID" CssClass="textbox" runat="server" MaxLength="20" meta:resourcekey="txtDriverID"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDriverID" CssClass="selectbox" runat="server" meta:resourcekey="ddlDriverID">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDriverPhone" runat="server" Text="司机电话" meta:resourcekey="lblDriverPhone"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDriverPhone" CssClass="textbox" runat="server" MaxLength="20"
                            meta:resourcekey="txtDriverPhone"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDriverPhone" CssClass="selectbox" runat="server" meta:resourcekey="ddlDriverPhone">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlStatusValue" runat="server" CssClass="mediumselectbox" meta:resourcekey="ddlStatusValue">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlStatus" CssClass="selectbox" runat="server" meta:resourcekey="ddlStatus">
                        </asp:DropDownList>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblTrackingDate" runat="server" Text="受理日期" 
                            meta:resourcekey="lblTrackingDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtTrackingDate" runat="server" CssClass="textbox" 
                            meta:resourcekey="txtTrackingDate"></asp:TextBox><img  src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtTrackingDate)" />
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlTrackingDate" runat="server" CssClass="selectbox" 
                            onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div1,img2);" 
                            meta:resourcekey="ddlPoDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display:none;" id="div1">
                            <asp:TextBox ID="txtTrackingDate2" runat="server" CssClass="textbox" 
                                meta:resourcekey="txtTrackingDate2"></asp:TextBox><img src="../Images/calendar.gif" class="img" alt="请选择日期" id="img2" runat="server" onclick="setday(this,txtTrackingDate2)"/>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblCreateBy" runat="server" Text="创建人" meta:resourcekey="lblCreateBy"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtCreateBy" CssClass="textbox" runat="server" MaxLength="20" meta:resourcekey="txtCreateBy"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCreateBy" CssClass="selectbox" runat="server" meta:resourcekey="ddlCreateBy">
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>"
                            CssClass="button" Enabled="False" OnClick="btnSearch_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnNew" runat="server" Text="<%$Resources:ButtonResource,btnNew%>"
                            CssClass="button" Enabled="False" OnClientClick="javascript:window.location.href='Tracking.aspx?from=query';return false;" />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>"
                            CssClass="button" Enabled="False" OnClick="btnList_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>"
                            CssClass="button" Enabled="False" OnClientClick="javascript:window.location.href='TrackingList.aspx?from=query&export=y';return false;" />
                    </td>
                </tr>
            </table>
        </div>
        <input type="hidden" id="hdnActionID" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>
<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenCalendarDiv();
		//-->
</script>